<!DOCTYPE html>
<html lang="en" dir="ltr">
  <head>
    <meta charset="utf-8">
    <title></title>
  </head>
  <body>
    <div class="" id="app">
      <input type="text" name="" value="" v-on:keyup.aaa="handle" v-model="info">
    </div>
    <script type="text/javascript" src="js/vue.js">

    </script>
    <script type="text/javascript">
      Vue.config.keyCodes.aaa = 65
      var vm = new Vue({
        el: "#app",
        data: {
          info: "",
        },
        methods: {
          handle: function(event){
            console.log(event.keyCode)
          },
        },
      });
    </script>
  </body>
</html>
